import React from 'react';
import { BrowserRouter as Router, Route, Switch} from 'react-router-dom';
import Login from '../views/login/Login';
import InterfaceList from '../InterfaceList/InterfaceList';


const BasicRoute = () => (
        <Router>
            <div>
                <Switch>
                    <Route exact path="/" component={Login}/>
                    <Route path="/list" component={InterfaceList}/>
                    <Route path="/chatRoom" component={InterfaceList}/>
                    <Route path="/message" component={InterfaceList}/>
                    <Route path="/daily" component={InterfaceList}/>
                    <Route path="/nameCard" component={InterfaceList}/>
                </Switch>
            </div>
        </Router>
);


export default  BasicRoute;
